//
//  TableViewCell.m
//  PenTa
//
//  Created by iOS Three on 14/9/28.
//  Copyright (c) 2014年 iOS Three. All rights reserved.
//

#import "TableViewCell.h"

@implementation TableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(77, 9, 190, 30)];
        _iamge = [[UIImageView alloc] initWithFrame:CGRectMake(15, 12, 50, 60)];
        _voiceTime = [UIButton buttonWithType:UIButtonTypeRoundedRect];
        [_voiceTime setFrame:CGRectMake(77,  41, 135, 26)];
        _voiceTime.tintColor = [UIColor blackColor];
        [_voiceTime setBackgroundImage:[UIImage imageNamed:@"voice_07"] forState:UIControlStateNormal] ;
        [self addSubview:_voiceTime];
        [self addSubview:_titleLabel];
        [self addSubview:_iamge];
}
    return self;
    }

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
